package org.mozhu.mboot.admin.system.group.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.mozhu.mboot.core.data.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 分组与用户关系表
 */
@Entity
@Table(name = "sys_user_group_relation")
@Data
@EqualsAndHashCode(callSuper = true)
public class UserGroupRelation extends BaseEntity {

	@Column(name = "group_id")
	private Long groupId;

	@Column(name = "user_id")
	private Long userId;

}
